import emailTemplateRepository from '@/repositories/emailTemplate'

const getEmailTemplatesWithQuery = async(query) => {
  return emailTemplateRepository.getEmailTemplatesWithQuery(query)
}

const updateEmailTemplate = async(params) => {
  return await emailTemplateRepository.updateEmailTemplate(params)
}

export default {
  getEmailTemplatesWithQuery: getEmailTemplatesWithQuery,
  updateEmailTemplate: updateEmailTemplate
}
